<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>EmailAddress (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>

  <script type="text/javascript" src="//www.google.com/jsapi"></script>
  <script type="text/javascript">
     google.load("visualization", "1", {packages:["orgchart"]});
     var _loadingVisualizations = true;
  </script>

  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
        <span class="fn">format.EmailAddress</span>
        <span>Extends</span>
        <span class="fn-name">
          
        </span>
</div>

<div class="g-section g-tpl-75-25">
  <div class="g-unit g-first" id="description">
    Formats an email address string for display, and allows for extraction of
The individual componants of the address.

  </div>


        <div class="g-unit" id="useful-links">
          <div class="title">Useful links</div>
          <ol>
            <li><a href="local_closure_goog_format_emailaddress.js.source.html"><span class='source-code-link'>Source Code</span></a></li>
            <li><a href="http://code.google.com/p/closure-library/source/browse/local/closure/goog/format/emailaddress.js">Git</a></li>
          </ol>
        </div>
</div>






<h2 class="g-first">Inheritance</h2>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
  <tr><td>goog.format.EmailAddress</td><td></td></tr>
</table>
</div>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
</table>
</div>




  <h2>Constructor</h2>
      <div class="fn-constructor">
    goog.format.EmailAddress(<span><span class="arg">opt_address</span>,&nbsp;<span class="arg">opt_name</span></span>)
  </div>

   <h3>Parameters</h3>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">opt_address</span>
        : <span class="type">string=</span>
        <div class="entryOverview">The email address.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_name</span>
        : <span class="type">string=</span>
        <div class="entryOverview">The name associated with the email address.</div>
     </td>
   </tr>
  </table>


<h2>Instance Methods</h2>


  <div class="legend">
        <span class="key publickey"></span><span>Public</span>
        <span class="key protectedkey"></span><span>Protected</span>
        <span class="key privatekey"></span><span>Private</span>
  </div>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_format_EmailAddress.html">
              goog.format.EmailAddress
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.prototype.getAddress"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getAddress<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Get the email address.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            The email address.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line161">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.prototype.getName"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getName<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Get the name associated with the email address.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            The name or personal portion of the address.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line152">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.prototype.isValid"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isValid<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Determines is the current object is a valid email address.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether the email address is valid.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line219">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.prototype.setAddress"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setAddress<span class="args">(<span class="arg">address</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Set the email address.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">address</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The email address.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line179">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.prototype.setName"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setName<span class="args">(<span class="arg">name</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Set the name associated with the email address.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">name</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The name to associate.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line170">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.prototype.toString"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">toString<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Return the address in a standard format:
 - remove extra spaces.
 - Surround name with quotes if it contains special characters.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            The cleaned address.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line191">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Instance Properties</h2>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_format_EmailAddress.html">
              goog.format.EmailAddress
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.prototype.address_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">address_</span>
        : 
     </div>


     <div class="entryOverview">
       The email address.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line47">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.prototype.name_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">name_</span>
        : 
     </div>


     <div class="entryOverview">
       The name or personal string associated with the address.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line40">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Static Methods</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.getToken_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">getToken_<span class="args">(<span class="arg">str</span>,&nbsp;<span class="arg">pos</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Get the next token from a position in an address string.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">str</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">the string.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">pos</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">the position.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            the token.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line356">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.isEscapedDlQuote_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">isEscapedDlQuote_<span class="args">(<span class="arg">str</span>,&nbsp;<span class="arg">pos</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Checks if the character in the current position is an escaped double quote
( \" ).

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">str</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">the string.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">pos</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">the position.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            true if the char is escaped double quote.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line390">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.isValidAddrSpec"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">isValidAddrSpec<span class="args">(<span class="arg">str</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Checks if the provided string is a valid address spec (<a href="mailto:local@domain.com">local@domain.com</a>).

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">str</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The email address to check.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether the provided string is a valid address spec.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line241">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.isValidAddress"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">isValidAddress<span class="args">(<span class="arg">str</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Checks if the provided string is a valid email address. Supports both
simple email addresses (address specs) and addresses that contain display
names.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">str</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The email address to check.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether the provided string is a valid address.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line231">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.isValidDomainPartSpec"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">isValidDomainPartSpec<span class="args">(<span class="arg">str</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Checks if the provided string is a valid domain port (part after the '@') of
an email address.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">str</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The domain part to check.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether the provided string is a valid domain part.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line267">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.isValidLocalPartSpec"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">isValidLocalPartSpec<span class="args">(<span class="arg">str</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Checks if the provided string is a valid local port (part before the '@') of
an email address.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">str</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The local part to check.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether the provided string is a valid local part.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line256">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.parse"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">parse<span class="args">(<span class="arg">addr</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_format_EmailAddress.html">goog.format.EmailAddress</a></span>
      </div>


     <div class="entryOverview">
       Parse an email address of the form "name" &lt;address&gt; into
an email address.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">addr</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The address string.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_format_EmailAddress.html">goog.format.EmailAddress</a></span>&nbsp;
            The parsed address.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line278">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.format.EmailAddress.parseList"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">parseList<span class="args">(<span class="arg">str</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span>!</span><span class="type"><a href="class_goog_format_EmailAddress.html">goog.format.EmailAddress</a></span>&gt;
      </div>


     <div class="entryOverview">
       Parse a string containing email addresses of the form
"name" &lt;address&gt; into an array of email addresses.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">str</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The address list.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span>!</span><span class="type"><a href="class_goog_format_EmailAddress.html">goog.format.EmailAddress</a></span>&gt;&nbsp;
            The parsed emails.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line316">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



<h2>Static Properties</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.ALL_BACKSLASHES_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">ALL_BACKSLASHES_</span>
        : 
     </div>


     <div class="entryOverview">
       A RegExp to match all backslashes.  Used in cleanAddress().

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line96">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.ALL_DOUBLE_QUOTES_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">ALL_DOUBLE_QUOTES_</span>
        : 
     </div>


     <div class="entryOverview">
       A RegExp to match all double quotes.  Used in cleanAddress().

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line80">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.CLOSERS_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">CLOSERS_</span>
        : 
     </div>


     <div class="entryOverview">
       Match string for closing tokens.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line64">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.DOMAIN_PART_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">DOMAIN_PART_</span>
        : 
     </div>


     <div class="entryOverview">
       A RegExp to match the domain part of an email address.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line135">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.DOMAIN_PART_REGEXP_STR_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">DOMAIN_PART_REGEXP_STR_</span>
        : 
     </div>


     <div class="entryOverview">
       A string representing the RegExp for the domain part of an email address.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line119">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.EMAIL_ADDRESS_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">EMAIL_ADDRESS_</span>
        : 
     </div>


     <div class="entryOverview">
       A RegExp to match an email address.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line143">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.ESCAPED_BACKSLASHES_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">ESCAPED_BACKSLASHES_</span>
        : 
     </div>


     <div class="entryOverview">
       A RegExp to match escaped backslashes.  Used in parse().

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line104">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.ESCAPED_DOUBLE_QUOTES_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">ESCAPED_DOUBLE_QUOTES_</span>
        : 
     </div>


     <div class="entryOverview">
       A RegExp to match escaped double quotes.  Used in parse().

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line88">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.LOCAL_PART_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">LOCAL_PART_</span>
        : 
     </div>


     <div class="entryOverview">
       A RegExp to match the local part of an email address.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line127">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.LOCAL_PART_REGEXP_STR_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">LOCAL_PART_REGEXP_STR_</span>
        : 
     </div>


     <div class="entryOverview">
       A string representing the RegExp for the local part of an email address.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line111">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.OPENERS_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">OPENERS_</span>
        : 
     </div>


     <div class="entryOverview">
       Match string for opening tokens.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line56">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.format.EmailAddress.SPECIAL_CHARS_RE_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.format.EmailAddress.</span><span class="entryName">SPECIAL_CHARS_RE_</span>
        : 
     </div>


     <div class="entryOverview">
       A RegExp to check special characters to be quoted.  Used in cleanAddress().

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_format_emailaddress.js.source.html#line72">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>









<div class="section">
  <table class="horiz-rule">


  </table>
</div>
      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Package format</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">Package Reference</h2>
            <div id="sideTypeIndex" rootPath="" current="format.EmailAddress"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
